package com.e3.basdoc.corp.server;

import com.e3.basdoc.corp.service.CorpQueryService;
import com.e3.basdoc.corp.service.CorpService;
import com.e3.core.base.ServiceLocator;

public class CorpServiceClient {
	
	private static CorpService corpService;

	private static CorpQueryService corpQueryService;

	public static CorpService getCorpService() {
		if (corpService == null) {
			corpService = ServiceLocator.getService(CorpService.class);
		}
		return corpService;
	}

	public static CorpQueryService getCorpQueryService() {
		if (corpQueryService == null) {
			corpQueryService = ServiceLocator.getService(CorpQueryService.class);
		}
		return corpQueryService;
	}

}
